-
Notifications
You must be signed in to change notification settings - Fork 27.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add better examples to next/image
docs.
#51457
Conversation
could you also add an example for fixed-size images? thanks |
What do you mean by that, exactly? |
adding an additional example for images which should always be displayed at a specific width and height, irrespective of viewport size, but taking device pixel ratio into account - basically how to do "layout: fixed" from the legacy image component with the new image component. |
@stefanprobst can you explain the layout you're trying to build with that image? Trying to understand when you would never want the image to be responsive. Is it a background image of sorts? |
@stefanprobst going to go ahead and merge this, but we can always add more 😄 |
let's say we are building a |
You would probably still want those images to be responsive when going down to mobile though, right? I believe you'd use |
Dependent on merging images. Making it easy to copy/paste.